/*
 * @Author: yuanchenxi 836909158@qq.com
 * @Date: 2024-07-24 16:57:31
 * @LastEditors: 武兴创 superjava@vip.qq.com
 * @LastEditTime: 2024-08-28 17:39:49
 * @FilePath: \SGFEM\DataStructure\FEM\Property\include\PMASSData.h
 */
#pragma once

#include "DataStructure/Common/DataStructureExport.h"
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Input/Property/PropertyBase.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
using SG::DataStructure::Common::Id;
using SG::DataStructure::Common::Real;

/// @brief 标量质量单元属性定义
///
struct PMASSData : public PropertyBase
{
    SG::DataStructure::Common::Real m_M        = 0.0;  ///< 质量系数
    SG::DataStructure::Common::Id   m_domainId = 0;
};

/// @brief 判断单元数据是否相等

DECLSPEC bool operator== (const PMASSData &a, const PMASSData &b);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE